package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.notificationResult.MonthCardResult;
import com.ruoyi.system.domain.notificationResult.MonthNotification;
import com.ruoyi.system.domain.notificationResult.MonthWhileResult;
import com.ruoyi.system.domain.notificationResult.OrderNotification;
import com.ruoyi.system.mapper.SmartNotificationMapper;
import com.ruoyi.system.service.ISmartNotificationService;
import lombok.AllArgsConstructor;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * SmartMessagenotificationServiceImpl
 *
 * @author life.
 * @date 2025/4/5
 */
@Service
public class SmartMessagenotificationServiceImpl implements ISmartNotificationService {
    @Autowired
    private SmartNotificationMapper smartNotificationMapper;

    @Override
    public List<MonthCardResult> getMonthCardUsersForNotice() {
        return smartNotificationMapper.getMonthCardUsersForNotice();
    }

    @Override
    public List<MonthWhileResult> getMonthWhileUsersForNotice() {
        return smartNotificationMapper.getMonthWhileUsersForNotice();
    }

    @Override
    public List<MonthNotification> getMonthNotification() {
        return smartNotificationMapper.getMonthNotification();
    }

    @Override
    public List<OrderNotification> orderNotifications() {
        return smartNotificationMapper.orderNotifications();
    }

}